import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GameRuleService } from './game-rule.service';
import { GameRule } from './entities/game-rule.entity';
import { GameRuleController } from './game-rule.controller';

@Module({
  imports: [TypeOrmModule.forFeature([GameRule])],
  providers: [GameRuleService],
  controllers: [GameRuleController],
  exports: [GameRuleService],
})
export class GameRuleModule {}
